Skip to content

Add dynamic OG image background for social sharing#5404

Merged
fern-support merged 1 commit intomainfrom
og-dynamic-background-image
May 6, 2026
Merged

Add dynamic OG image background for social sharing#5404
fern-support merged 1 commit intomainfrom
og-dynamic-background-image

Conversation

@kgowru
Copy link
Copy Markdown
Contributor

@kgowru kgowru commented May 6, 2026

Summary

  • Enables og:dynamic: true to generate dynamic Open Graph images for social sharing
  • Sets the Fern docs screenshot as the og:dynamic:background-image so each page's OG card uses it as a backdrop
  • Adds og:dynamic:show-url: false to hide the URL overlay on generated images

Test plan

  • Preview a docs page link on Slack/Twitter/LinkedIn and verify the OG card renders with the background image

Enables dynamic OG image generation with the Fern docs screenshot as the
background image, and hides the URL overlay.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kgowru kgowru requested a review from devalog as a code owner May 6, 2026 03:05
@fern-support fern-support merged commit 29f0db0 into main May 6, 2026
2 checks passed
@fern-support fern-support deleted the og-dynamic-background-image branch May 6, 2026 03:05
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants